#ifndef ENGINE_H
#define ENGINE_H

#include <iostream>
#include <SDL.h>
#include "OpenGL.h"
#include <string>

#define VERSION_MAJOR 1
#define VERSION_MINOR 0
#define REVISION 0

namespace pancake
{
	class Engine
	{
		int version_major_, version_minor_, revision_;

		int screen_width_, screen_height_;
		SDL_Window* window_;
		SDL_GLContext context_;

	private:
		Engine();
		~Engine();

	public:

		bool Init();
		bool InitGL();

		void HandleKeys(unsigned char key, int x, int y);
		void Update();
		void Render();
		void Close();		
	};//class
}; //namespace

#endif